package com.ruoyi.business.service.fission;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.business.domain.dto.admin.fission.FissionActivitySysAddDTO;
import com.ruoyi.business.domain.fission.TbWecomChatGroupFission;
import com.ruoyi.business.domain.vo.fission.admin.FissionActivitySysDetailVO;
import com.ruoyi.business.domain.vo.fission.api.WecomChatGroupVO;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.page.TableDataInfo;

public interface ITbWecomChatGroupFissionService extends IService<TbWecomChatGroupFission> {
    /**
     * 添加群裂变活动
     *
     * @param fissionActivitySysAddDTO
     */
    Boolean sysAdd(FissionActivitySysAddDTO fissionActivitySysAddDTO);


    /**
     * @param name
     * @param pageQuery
     * @return
     */
    TableDataInfo<TbWecomChatGroupFission> sysPageQuery(String name, PageQuery pageQuery);

    /**
     * @param fissionId
     * @return
     */
    FissionActivitySysDetailVO sysSelectDetail(Long fissionId);


    /**
     * @param fissionId
     * @return
     */
    Boolean sysRemove(Long fissionId);

    /**
     * 开始活动生成活动入口 二维码
     *
     * @param fissionId
     * @return
     */
    Boolean sysStart(Long fissionId);

    String shareQrCode(Long userId, Long fissionId, String envVersion);

    WecomChatGroupVO queryChatGroupQrCode(Long userId,String scene);

    String generateMyScene(Long userId, Long fissionId);

}
